﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TypeRacer.Models;

namespace TypeRacer.Controllers
{
    public class BaseController : Controller
    {
        protected DataContext Context;

        public BaseController()
        {
            this.Context = new DataContext();
        }

        public void CreateNewContext()
        {
            this.Context = new DataContext();
        }
    }
}